package com.xiaoyu.lingdian.service;

import com.xiaoyu.lingdian.core.mybatis.page.Page;
import com.xiaoyu.lingdian.entity.CoreCartOrder;

public interface CoreCartOrderService {
	
	/**
	* 添加
	* @param coreCartOrder
	* @return
	*/
	public boolean insertCoreCartOrder(CoreCartOrder coreCartOrder);
	
	/**
	* 修改
	* @param coreCartOrder
	* @return
	*/
	public boolean updateCoreCartOrder(CoreCartOrder coreCartOrder);
	
	/**
	* 删除
	* @param coreCartOrder
	* @return
	*/
	public boolean deleteCoreCartOrder(CoreCartOrder coreCartOrder);

	/**
	* 查询
	* @param coreCartOrder
	* @return
	*/
	public CoreCartOrder getCoreCartOrder(CoreCartOrder coreCartOrder);
	
	/**
	 * 根据条件分页查询
	 *
	 * @param orderUuid
	 * @param userUuid
	 * @param pageNum
	 * @param pageSize
	 * @return
	 */
	public Page<CoreCartOrder> findCoreCartOrderByCnd(String orderUuid, String userUuid, int pageNum, int pageSize);
	
}